home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 2.8 KB | 93 lines | [TEXT/MPS ] |
- /*
- File: StandardFile.idl
-
- Contains: Standard File package Interfaces.
-
- Version: Technology: System 7.5
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __STANDARDFILE_IDL__
- #define __STANDARDFILE_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __DIALOGS_IDL__
- #include <Dialogs.idl>
- #endif
- #ifndef __FILES_IDL__
- #include <Files.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
- /* The interfaces for other managers depend on these structs.*/
- typedef SOMLargeStruct SFReply; /* Derived from a struct of 74 bytes in size */
-
- typedef SOMLargeStruct StandardFileReply; /* Derived from a struct of 88 bytes in size */
-
- #endif
- #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
- /*
- * Note to developers targeting for system versions later than System 7.x.
- *
- * After System 7.x, the routines in this file will become obsolete!
- *
- * For software targeted to later system versions, do not include this file.
- * Instead, include Navigation and use its routines. StandardFile routines will
- * be implemented only for backward compatibility with System 7.x software.
- *
- */
- /*
- the refcon field of the dialog record during a
- modalfilter or dialoghook contains one of the following
- */
- /* for CustomXXXFile, ActivationOrderListPtr parameter is a pointer to an array of item numbers */
- typedef OpaquePtr ActivationOrderListPtr; /* Substituted OpaquePtr for “short*” */
-
- typedef OpaquePtr DlgHookProcPtr;
- typedef OpaquePtr DlgHookUPP;
- typedef OpaquePtr FileFilterProcPtr;
- typedef OpaquePtr FileFilterUPP;
- /* the following also include an extra parameter of "your data pointer" */
- typedef OpaquePtr DlgHookYDProcPtr;
- typedef OpaquePtr DlgHookYDUPP;
- typedef OpaquePtr ModalFilterYDProcPtr;
- typedef OpaquePtr ModalFilterYDUPP;
- typedef OpaquePtr FileFilterYDProcPtr;
- typedef OpaquePtr FileFilterYDUPP;
- typedef OpaquePtr ActivateYDProcPtr;
- typedef OpaquePtr ActivateYDUPP;
- typedef OpaquePtr SFTypeList; /* Substituted OpaquePtr for array of OSType of size 4 */
-
- /*
- The GetFile "typeList" parameter type has changed from "SFTypeList" to "ConstSFTypeListPtr".
- For C, this will add "const" and make it an in-only parameter.
- For Pascal, this will require client code to use the @ operator, but make it easier to specify long lists.
-
- ConstSFTypeListPtr is a pointer to an array of OSTypes.
- */
- typedef OpaquePtr ConstSFTypeListPtr; /* Substituted OpaquePtr for “OSType*” */
-
- #if CGLUESUPPORTED
- #endif
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __STANDARDFILE_IDL__ */
-
-